# $Id: PKGBUILD 175126 2013-01-14 12:47:17Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>

pkgname=traceroute
pkgver=2.0.19
pkgrel=1
pkgdesc="Tracks the route taken by packets over an IP network"
arch=('i686' 'x86_64')
url="http://traceroute.sourceforge.net/"
license=('GPL2')
depends=('glibc')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
sha1sums=('44c109cfe4950f1617d0d796b432356b9acf4bd4')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make CFLAGS="$CFLAGS"
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make prefix=/usr DESTDIR="${pkgdir}" install
}
